words = input().split()
print(words[0][0] + words[1][0] + words[2][0])
